package com.mybatis.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.UpdateProvider;


public interface PathLockDao {
	
	@Select("select * from paths_lock")
	List<Map<String, Object>> selectAll();
	
	@UpdateProvider(type=PathLockSqlProvider.class, method="updatePathLock")
	void updatePathLock(Map<String, Object> map);
	
	@InsertProvider(type=PathLockSqlProvider.class, method="insertPathLock")
	public void insertPathLock(Map<String, Object> map);	
	
}
